package com.plian.system.vo.hr.dept;

import com.plian.system.entity.hr.dept.Dept;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 部门基础信息视图实体类
 *
 * @author gangan
 * @since 2019-08-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "部门VO", description = "部门VO")
public class DeptVO extends Dept {
	private static final long serialVersionUID = 1L;

	/**
	 * 上级部门名称
	 */
	@ApiModelProperty(value = "上级部门名称")
	private String baseinfoDeptName;

	/**
	 * 所属单位名称
	 */
	@ApiModelProperty(value = "单位名称", required = true)
	private String deptAffiliationName;

	/**
	 * 部门负责人名称
	 */
	private String deptHeadName;

	@ApiModelProperty(value = "部门负责人身份证")
	private String deptHeadDocumentNumber;

	private String createUserName;
	private String updateUserName;
	private List<DeptVO> child;
}
